export interface CatalogVo {
  catalogName: string
  host: string
  port: number
  databaseType: 'MYSQL' | 'ORACLE' | 'POSTGRESQL' | string
  route: string
  userName: string
  connectType: 'SERVICE_NAME' | 'SID' | string
  databaseVersion?: string
  dorisCatalogName: string
  defaultSystemCode: string
  enabled: boolean
  serverConnected?: boolean
  serverConnectedDt?: string
  jdbcConnected?: boolean
  jdbcConnectedDt?: string
  dorisConnected?: boolean
  dorisConnectedDt?: string
}

export interface Database {
  name: string
  enabled?: boolean
  systemCode?: string
}

export interface Table {
  name: string
  enabled?: boolean
  systemCode?: string
  activeDimensionName?: string | null
}

export interface Column {
  name: string
  type: string
  nullable?: boolean
}

export interface Dimension {
  name: string
  description?: string
}